<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ include file="../../includes/common.jsp" %>


 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
    <head>
        <meta name="META_MAIN_MENU_ID" content="ADMIN_ARTICLES" />
        <title>博文转载</title>
        <meta name="search" content="price" />
        <meta name="author" content="chunhai.chen(15317227@qq.com)" />
		<c:set var="requester" value="<%=request.getServerName()+ (request.getServerPort()==80 ? "" : ":"+request.getServerPort())%>"/>
    </head>
    <body>
        <div style="padding:20px;" id="reprintarticleurl" title="http://${authorBlogUrl }/dataservice/article/${articleUid}.json">
        	
            <c:if test="${not empty article}">
            <form:form action="/admin/article/reprint/${authorBlogUrl}/${authorEmail}/${articleUid}.htm"  commandName="article" method="put" enctype="multipart/form-data">
			<%--Any fields they're not filling in have to be carried over in hidden fields because of request scoping --%>
			<form:hidden path="uid" />
			<font color="red"><form:errors path="*" /> </font>
			<table width='100%' id="customerTable" class="yui-grid">
				<thead>
					<tr>
						<th colspan="2" align='left' nowrap> <p style='font-size: 20px;margin:0'>转载博文</p> </th>
					</tr>
				</thead>

            	<tr>
            		<td nowrap>名称</td>
            		<td>
            			<span id="reprintarticle_name"> </span>
            			<input id="reprintarticle_name_input" type='hidden' name="name" value=""/> </font>
            		</td>
            	</tr>

            	<tr>
            		<td nowrap>标签</td>
            		<td>
            			<span id="reprintarticle_tags"> </span>
            			<input id="reprintarticle_tags_input" type='hidden' name="tags" value=""/> 
            		</td>
            	</tr>

            	<tr>
            		<td nowrap>分组标签</td>
            		<td>
            			<span id="reprintarticle_groupTag"></span>
            			<input id="reprintarticle_groupTag_input"type='hidden' name="groupTag" value=""/> 
            		</td>
            	</tr>


            	<tr><td nowrap>详细</td>
            		<td>
            			<span id="reprintarticle_longDesc"></span>
            			<input id="reprintarticle_longDesc_input"type='hidden' name="longDesc" value=""/> 
            		</td> 
            	</tr>
            	
            	<tr>
            		<td nowrap>作者</td>
            		<td>
						${authorEmail}
            		</td> 
            	</tr>

				<c:if test="${articleexist}">
				<tr>
					<td>提示<font color='red'>*</font></td>
					<td>该文已于 <fmt:formatDate value="${article.created }" pattern="yyyy-MM-dd HH:mm"></fmt:formatDate> 转载到本博客  </td>
				</tr>
				</c:if>
				
				<tr>
					<td></td>
					<td><p class="submit"><input type="submit" value="确定保存转载内容" /></p></td>
				</tr>
						
			</table>
			</form:form>
            </c:if>
        </div>
    </body>
</html>



